<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
if ( ! function_exists('full_url'))
{
	function full_url()
	{
		$ci=& get_instance();
		$url = $ci->config->site_url() . $ci->uri->uri_string();
		 
		return ( $_SERVER['QUERY_STRING'] ) ? $url . '?' . $_SERVER['QUERY_STRING'] : $url;
	}
}
?>
